<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:include href="common.xsl"/>
  <xsl:param name="xopus"/>
  <xsl:param name="show-draft-comments" select="'false'"/>
  <xsl:param name="show-required-cleanups" select="'false'"/>

  <xsl:template match="*[contains(@class, ' topic/topic ')]">
    <div class="topic-topic">
      <xsl:apply-templates/>
    </div>  
  </xsl:template>

  <xsl:template match="p/*[contains(@class, ' topic/note ')]">
    <span class="note">
      <xsl:apply-templates select="@type"/>
      <xsl:apply-templates select="node()"/>
    </span>
  </xsl:template>
  
  <xsl:template match="note/@type">
    <span class="note_type">
      <xsl:value-of select="."/>
      <xsl:text>: </xsl:text>
    </span>
  </xsl:template>

</xsl:stylesheet> 

